package cn.iocoder.yudao.module.design.job.report;

import cn.iocoder.yudao.framework.quartz.core.handler.JobHandler;
import cn.iocoder.yudao.module.design.service.report.UserReportService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
@Slf4j
public class UserReportJob implements JobHandler {

    @Resource
    UserReportService userReportService;

    @Override
    public String execute(String param) throws Exception {
        //int notifyCount = payNotifyCoreService.executeNotify();
        userReportService.generateUserReport("");
        return String.format("执行产生报表数量 %s 个", param);
    }
}
